import http from '../index'

const api = '/store/order/ticket'

export function get(params) {
  return http.get(api, {
    params
  })
}

export function provider(id, name, value) {
  return http.post(api + '/provider/' + id,  { name, value })
}